package com.heima.pojo.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.heima.pojo.dto.SkuClass;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author 存折
 * @since 2024-10-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_sku")
public class Sku implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "sku_id")
    private Long skuId;
    /**
     * 商品名称
     */
    private String skuName;

    /**
     * 商品图片
     */
    private String skuImage;

    /**
     * 基础价格
     */
    private Integer price;

    /**
     * 商品类别Id
     */
    private Integer classId;

    /**
     * 是否打折促销
     */
    private Boolean isDiscount;

    /**
     * 净含量
     */
    private String unit;

    private String brandName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

}
